#ifndef NASTAVENISIT_H
#define NASTAVENISIT_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QComboBox>
#include <QMessageBox>
#include <QTcpServer>
#include <QTcpSocket>
#include <QNetworkProxy>
#include <QHostAddress>
#include "hraci.h"
#include "external/qtcolorpicker.h"

class pageNastaveniSit : public QWidget
{
    Q_OBJECT
private:
    QLineEdit * jmenoHrace1;
    QComboBox * symbolHrace1;
    QtColorPicker * zvolBarvu1;
    QLineEdit * ipAdresa;
    QLineEdit * port;
    QTcpServer * tcpServer;

    Hraci * hraci;
public:
    pageNastaveniSit(QWidget *parent = 0);
    Hraci * vratHrace();
    QTcpSocket * tcpClient;

signals:

public slots:
    void on_pbVytvorit_clicked();
    void on_pbPripojit_clicked();
    void onClientConnect();
    void onNewData();

};

#endif // NASTAVENISIT_H
